// implementation file of abstract class Tree

#include "AbsTree.h"
#include <iostream>
using namespace std;


/*************Constructors***************/
	template<typename T>
	//constructs a new Tree given the rootNode
	AbsTree<T>::AbsTree(T root) {
		rootNode = root;
	}

/****************************************/
	template<typename T>
	T AbsTree<T>::getRoot() {
		return rootNode;
	}

	template<typename T>
	void AbsTree<T>::setRoot(T node) {
		rootNode = node;
	}